entry: Move touch selection a little further away
authorMatthias Clasen <mclasen@redhat.com>
Mon, 8 Jun 2015 01:13:16 +0000 (21:13 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 8 Jun 2015 10:56:12 +0000 (06:56 -0400)
Otherwise, it looks cramped, and we end up under the finger.

gtk/gtkentry.c

index 14328aca4980c15c2a2650a38933ee9168c1d196..756176f9d8c4aadd65ab751e6aab111962ab87f6 100644 (file)
@@ -9877,6 +9877,11 @@ bubble_targets_received (GtkClipboard     *clipboard,
       rect.width = 0;
     }
 
+  rect.x -= 5;
+  rect.y -= 5;
+  rect.width += 10;
+  rect.height += 10;
+
   gtk_popover_set_pointing_to (GTK_POPOVER (priv->selection_bubble), &rect);
   gtk_widget_show (priv->selection_bubble);